package com.yida.wy.config.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @Description 公维金详情DTO
 * @Author wws
 * @Date 2023-05-30
 */
public class WyPolicyNoticeDetailDTO {

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date releaseTime;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("类型(0:政策公告;1:小区信息公示)")
    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Date getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(Date releaseTime) {
        this.releaseTime = releaseTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("GwjPolicyNoticeDetailDTO{");
        sb.append("title='").append(title).append('\'');
        sb.append(", sort=").append(sort);
        sb.append(", releaseTime=").append(releaseTime);
        sb.append(", content='").append(content).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
